const Service = require('../core/base_service');

class EquipService extends Service {

  async getEquip(equipNo) {
    const result = await this.get(`http://localhost:7002/api/equipment/detail?equipNo=${equipNo}`);
    if(result.success){
        return result.data;
    }else{
        return undefined;
    }
  }

}

module.exports = EquipService;
